// hamc加密
a=[
  '/api/datalist/touzilist?isnewagg=true&keyno=6b242b475738f45a4dd180564d029aa9&pageindex=2{}',
  'iLAgiWL4Ligk4i46Lkgigk4Bgkvl8LBBl4NLl1illv6lN1vAv1AkKk64kAKLAWWr4iKNAWivLLLL1ALBlgvWlWlviLAgiWL4Ligk4i46Lkgigk4Bgkvl8LBBl4NLl1illv6lN1vAv1AkKk64kAKLAWWr4iKNAWivLLLL1ALBlgvWlWlv',
  '/api/datalist/touzilist?isnewagg=true&keyno=6b242b475738f45a4dd180564d029aa9&pageindex=2pathString{}869dce76c1f76edbbb9f44bba8933516'
]


const crypto = require('crypto');
function sha512(a,b) {
  return crypto.createHmac('sha512', b).update(a).digest('hex')

}

console.log(sha512(a[0], a[1]));